package qualomelhor.database;

import javax.persistence.Id;
import qualomelhor.database.ParametrosSistema.SiteHost;
import com.googlecode.objectify.annotation.Entity;
import com.googlecode.objectify.annotation.Indexed;
import java.io.Serializable;

@Entity
public class LinkComparacao implements Serializable {

		private static final long serialVersionUID = 0;

	    @Id
	    private Long id; 

	    @Indexed
	    private String link;

	    private Long idComparacao;
	    
	    @Indexed
	    private SiteHost site;

	    public LinkComparacao() {

	    }

	    public LinkComparacao(String link, Long idComparacao, SiteHost site) {
	    	this.link = link;
	    	this.idComparacao = idComparacao;
	    	this.site = site;
	    }

	    public Long getId() {
	        return id;
	    }

	    public String getLink() {
	    	return link;
	    }

	    public Long getIdComparacao() {
	    	return idComparacao;
	    }

	    public SiteHost getSite() {
	    	return site;
	    }

	    public void setId(Long id) {
	    	this.id = id;
	    }

	    public void setLink(String link) {
	    	this.link = link;
	    }

	    public void setIdComparacao(Long idComparacao) {
	    	this.idComparacao = idComparacao;
	    }

	    public void setSite(SiteHost site) {
	    	this.site = site;
	    }
}